package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生对象 sys_student
 * 
 * @author ruoyi
 * @date 2025-06-06
 */
public class SysStudent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学生编号 */
    private Long sId;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String sName;

    /** 学生年龄 */
    @Excel(name = "学生年龄")
    private String sAge;

    /** 学生性别 */
    @Excel(name = "学生性别")
    private String sSex;

    /** 学生出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "学生出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sBirthday;

    public void setsId(Long sId) 
    {
        this.sId = sId;
    }

    public Long getsId() 
    {
        return sId;
    }

    public void setsName(String sName) 
    {
        this.sName = sName;
    }

    public String getsName() 
    {
        return sName;
    }

    public void setsAge(String sAge) 
    {
        this.sAge = sAge;
    }

    public String getsAge() 
    {
        return sAge;
    }

    public void setsSex(String sSex) 
    {
        this.sSex = sSex;
    }

    public String getsSex() 
    {
        return sSex;
    }

    public void setsBirthday(Date sBirthday) 
    {
        this.sBirthday = sBirthday;
    }

    public Date getsBirthday() 
    {
        return sBirthday;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sId", getsId())
            .append("sName", getsName())
            .append("sAge", getsAge())
            .append("sSex", getsSex())
            .append("sBirthday", getsBirthday())
            .toString();
    }
}
